Skip to content

ssl test: Check SSLVerifyClient on a plain-HTTP vhost - #1155

Open
PaulLodge wants to merge 1 commit into
apache:trunkfrom
PaulLodge:port2-ssl
Open

PaulLodge wants to merge 1 commit into
apache:trunkfrom
PaulLodge:port2-ssl

Conversation

@PaulLodge

Copy link
Copy Markdown
Contributor

mod_ssl access hook must decline rather than crash when the location it protects is reached without TLS. Fold into test_003_verify_client.

The non-SSL test accepted 200, 403 and 404 alike, so a wrong answer that is not a crash would still pass. The location has no resource, so pin the 404 actually served.

  • This PR does not report or address a security vulnerability
    (see SECURITY.md and
    https://www.apache.org/security/#reporting-a-vulnerability).
  • Code follows the httpd style guide.
  • New log messages (level debug or higher) use an empty APLOGNO() tag;
    numbers are assigned by a committer at merge time (see docs/log-message-tags/README).
  • If the change is user-visible, a changes-entries/*.txt file is included,
    following the template in README.CHANGES (not needed otherwise).
  • Test cases based on pyhttpd are included where appropriate, in the
    test/modules/xxx directory matching the modules/xxx module source,
    or test/modules/core for core server changes. On Unix, verify these
    pass locally with e.g. make check-pytest PYTEST_DIRS=test/modules/xxx.

mod_ssl access hook must decline rather than crash when the location
it protects is reached without TLS.  Fold into test_003_verify_client.

The non-SSL test accepted 200, 403 and 404 alike, so a wrong answer
that is not a crash would still pass. The location has no resource,
so pin the 404 actually served.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant